const Config = require('markdown-it-chain');
const slugify = require('transliteration').slugify;
const containers = require('./containers.js');
const overWriteFenceRule = require('./fence.js');

const config = new Config();

config
  .options.html(true).end()
  .plugin('containers').use(containers).end();

const md = config.toMd();
overWriteFenceRule(md);

module.exports = md;
